<?php

Yii::import('application.models._base.BaseGalleryCategory');

class GalleryCategory extends BaseGalleryCategory
{
	public static function model($className=__CLASS__) {
		return parent::model($className);
	}
	public function relations()
	{
		// NOTE: you may need to adjust the relation name and the related
		// class name for the relations automatically generated below.
		return array(
			'items' => array(self::HAS_MANY, 'GalleryItems', 'catid'),
		);
	}
}